package com.one2one;

import com.one2many.User;

/**
 * Idcard entity. @author MyEclipse Persistence Tools
 */

public class Idcard implements java.io.Serializable {

	// Fields

	private Integer cardId;
	private User user;
	private String idnumber;

	// Constructors

	/** default constructor */
	public Idcard() {
	}

	/** full constructor */
	public Idcard(User user, String idnumber) {
		this.user = user;
		this.idnumber = idnumber;
	}

	// Property accessors

	public Integer getCardId() {
		return this.cardId;
	}

	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getIdnumber() {
		return this.idnumber;
	}

	public void setIdnumber(String idnumber) {
		this.idnumber = idnumber;
	}

}